#include <stdio.h>


unsigned int compzero = 0xffffffff;
unsigned int aaa = ~0;

typedef union {long i; int k[5]; char c;} DATE;
#define SWAP(x, y)	\
	x = x + y;	\
	y = x - y;	\
	x = x - y;

#pragma pack(24)
struct data { 
	int cat; 
	DATE cow; 
	double dog;
} too;
#pragma pack()

char *my_strcat( char *dest, const char *src )
{
	char *tmp = dest;

	while ( *dest )
		dest++;

	while ( ( *dest++ = *src++ ) != '\0' )
		;

	return tmp;
}


int main( void )
{
	char str[32] = "http://www.ibegroup.com/";
	//char *ptr = (char *)malloc( 8 );
	char str1[64];

	my_strcat( str, "<yanwh" );
	//printf( "%d %s\n", sizeof(str), str );
	printf( "%d\n", sizeof( struct data ) );
	//int *ptr;

	//ptr = ( int * )0xb7a90000;

	//*ptr = 0x1234;

	//printf( "%u %u\n", compzero, aaa );
	
	
	//printf( "Hello world %d.\n", *ptr );

	return 0;
}
